package cn.myzqu.sign.user.server.vo;


import lombok.Data;

import java.io.Serializable;

/**
 * @author chenyihui
 * @Description: TODO
 * @date 2019/1/22  23:39
 */
@Data
public class ConfirmVo implements  Serializable {



    private Integer id;

    private Integer key;//key=0表示邮箱，key=1表示号码

    private String code;

    private String content;

    public ConfirmVo()
    {

    }

    public ConfirmVo( Integer id,Integer key) {
        this.id =id;
        this.key = key;
    }

    public ConfirmVo( String code, String content) {
        this.code = code;
        this.content = content;

    }

    public ConfirmVo(Integer id,Integer key, String code, String content) {
        this.id=id;
        this.key = key;
        this.code = code;
        this.content = content;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
